package com.imooc.sellspringcloud.server.service;


import com.imooc.sellspringcloud.server.dto.OrderDTO;

/**
 * @author
 * @create 2019-07-27 21:47
 **/
public interface OrderService {

    /**
     * 创建订单
     * @param orderDTO
     * @return
     */
    OrderDTO create(OrderDTO orderDTO);

    /**
     * 改变订单状态
     * @param orderId
     * @param status
     */
    void changeOrderStatus(String orderId, int status);
}